package com.moshang.mall.search.vo;

import com.moshang.mall.to.SkuReductionTo;
import lombok.Data;

import java.util.List;

/**
 * @Author xww
 * @Description //TODO
 * @Date 2020/9/11   16:39
 **/
@Data
public class SearchResponse {
    private List<SkuReductionTo> products;
    private Integer pageNum;
    private Long total;
    private Integer totalPages;
    private List<BrandVo> brandVos;
    private List<AttrVo> attrs;
    private List<CatalogVo> catalogVos;

    @Data
    private static class BrandVo{
        private Long brandId;
        private String brandName;
        private String brandImg;
    }

    @Data
    private static class AttrVo{
        private Long attrId;
        private String attrName;
        private List<String> arrValue;

    }
    @Data
    private static class CatalogVo{
        private Long catalogId;
        private String catalogName;
    }
}
